package com.example.appendixutilitydemo.upload;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/11/20 19:49
 */
@Data
public class StudentUploadDto {
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("年龄")
    private String age;
    @ExcelProperty("性别")
    private String gender;
    @ExcelProperty("生日")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    @ExcelProperty("电话")
    private String phone ;
    @ExcelProperty("邮箱")
    private String email ;

}
